﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Api.Models
{
    /// <summary>
    /// eazy_subject:实体类(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public partial class subject
    {
        public subject()
        { }
        #region Model
        private int _id;
        private int _instance_id = 0;
        private string _user_name;
        private int _sex = 0;
        private string _birthday;
        private string _zhuzhi;
        private string _mobile;
        private string _company;
        private string _daibiaoren;
        private string _dizhi;
        private string _telephone;
        private string _case_title;
        private DateTime? _case_time;
        private string _content;
        private string _bm_remark;
        private string _bm_qianm;
        private DateTime? _bm_time;
        private string _zf_remark;
        private string _zf_qianm;
        private DateTime? _zf_time;
        private string _fg_remark;
        private string _fg_qianm;
        private DateTime? _fg_time;
        private string _fgld_remark;
        private string _fgld_qianm;
        private DateTime? _fgld_time;
        private DateTime _add_time = DateTime.Now;
        /// <summary>
        /// 自增ID
        /// </summary>
        public int id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 实例ID
        /// </summary>
        public int instance_id
        {
            set { _instance_id = value; }
            get { return _instance_id; }
        }
        /// <summary>
        /// 姓名
        /// </summary>
        public string user_name
        {
            set { _user_name = value; }
            get { return _user_name; }
        }
        /// <summary>
        /// 性别1男2女
        /// </summary>
        public int sex
        {
            set { _sex = value; }
            get { return _sex; }
        }
        /// <summary>
        /// 出生日期
        /// </summary>
        public string birthday
        {
            set { _birthday = value; }
            get { return _birthday; }
        }
        /// <summary>
        /// 住址
        /// </summary>
        public string zhuzhi
        {
            set { _zhuzhi = value; }
            get { return _zhuzhi; }
        }
        /// <summary>
        /// 个人联系电话
        /// </summary>
        public string mobile
        {
            set { _mobile = value; }
            get { return _mobile; }
        }
        /// <summary>
        /// 单位名称
        /// </summary>
        public string company
        {
            set { _company = value; }
            get { return _company; }
        }
        /// <summary>
        /// 法定代表人
        /// </summary>
        public string daibiaoren
        {
            set { _daibiaoren = value; }
            get { return _daibiaoren; }
        }
        /// <summary>
        /// 单位地址
        /// </summary>
        public string dizhi
        {
            set { _dizhi = value; }
            get { return _dizhi; }
        }
        /// <summary>
        /// 单位联系电话
        /// </summary>
        public string telephone
        {
            set { _telephone = value; }
            get { return _telephone; }
        }
        /// <summary>
        /// 案件名称
        /// </summary>
        public string case_title
        {
            set { _case_title = value; }
            get { return _case_title; }
        }
        /// <summary>
        /// 立案时间
        /// </summary>
        public DateTime? case_time
        {
            set { _case_time = value; }
            get { return _case_time; }
        }
        /// <summary>
        /// 案件内容
        /// </summary>
        public string content
        {
            set { _content = value; }
            get { return _content; }
        }
        /// <summary>
        /// 办案人员意见
        /// </summary>
        public string bm_remark
        {
            set { _bm_remark = value; }
            get { return _bm_remark; }
        }
        /// <summary>
        /// 办案人员签名
        /// </summary>
        public string bm_qianm
        {
            set { _bm_qianm = value; }
            get { return _bm_qianm; }
        }
        /// <summary>
        /// 办案人员办理时间
        /// </summary>
        public DateTime? bm_time
        {
            set { _bm_time = value; }
            get { return _bm_time; }
        }
        /// <summary>
        /// 执法人员意见
        /// </summary>
        public string zf_remark
        {
            set { _zf_remark = value; }
            get { return _zf_remark; }
        }
        /// <summary>
        /// 执法人员签名
        /// </summary>
        public string zf_qianm
        {
            set { _zf_qianm = value; }
            get { return _zf_qianm; }
        }
        /// <summary>
        /// 执法人员办理时间
        /// </summary>
        public DateTime? zf_time
        {
            set { _zf_time = value; }
            get { return _zf_time; }
        }
        /// <summary>
        /// 法规科意见
        /// </summary>
        public string fg_remark
        {
            set { _fg_remark = value; }
            get { return _fg_remark; }
        }
        /// <summary>
        /// 法规科签名
        /// </summary>
        public string fg_qianm
        {
            set { _fg_qianm = value; }
            get { return _fg_qianm; }
        }
        /// <summary>
        /// 法规科办理时间
        /// </summary>
        public DateTime? fg_time
        {
            set { _fg_time = value; }
            get { return _fg_time; }
        }
        /// <summary>
        /// 分管领导意见
        /// </summary>
        public string fgld_remark
        {
            set { _fgld_remark = value; }
            get { return _fgld_remark; }
        }
        /// <summary>
        /// 分管领导签名
        /// </summary>
        public string fgld_qianm
        {
            set { _fgld_qianm = value; }
            get { return _fgld_qianm; }
        }
        /// <summary>
        /// 分管领导办理时间
        /// </summary>
        public DateTime? fgld_time
        {
            set { _fgld_time = value; }
            get { return _fgld_time; }
        }
        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime add_time
        {
            set { _add_time = value; }
            get { return _add_time; }
        }

        /// <summary>
        /// 内容附件
        /// </summary>
        private List<case_attach> _attach;
        public List<case_attach> attach
        {
            set { _attach = value; }
            get { return _attach; }
        }
        #endregion Model

    }
}
